package com.itheima.sh.esdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.sh.esdemo.pojo.Sku;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface SkuMapper extends BaseMapper<Sku> {
    @Select("select id,name,price,num,image,create_time,category_id,category_name,brand_name from tb_sku")
    List<Sku> findAllById();
}
